/*
 * *****************************************************************************
 *  Copyright ( c ) 2019 huibur Inc. All Rights Reserved.
 *
 *  This software is the confidential and proprietary information of Huibur Inc
 *  (*Confidential Information*). You shall not disclose such Confidential Information
 *  and shall use it only in accordance with the terms of the license agreement
 *  you entered into with Huibur or a Huibur authorized
 *  reseller (the "License Agreement*).
 *  ******************************************************************************
 */

package com.huibur.devicecheck.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;

/*******************************************************
* Title: DevicePO.java
* Description: 
* @author baiqingshuo
* @date 2021/9/17
* @version 1.0
*******************************************************/

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@TableName("device")
public class DevicePO {

    /**
     * 设备id
     */
    @TableId(value = "id" ,type = IdType.AUTO)
    private Long id;

    /**
     * 设备分类id
     */
    @TableField("device_category_id")
    private Long deviceCategoryId;

    /**
     * 设备唯一标识
     */
    @TableField("label")
    private String label;

    /**
     * 设备型号
     */
    @TableField("model")
    private String model;

    /**
     * 生产厂家
     */
    @TableField("manufacturer")
    private String manufacturer;

    /**
     * 存放地点ID
     */
    @TableField("store_place_id")
    private Long storePlaceId;

    /**
     * 购买时间
     */
    @TableField("purchase_at")
    private Timestamp purchaseAt;

    /**
     * 照片路径（逗号分隔）
     */
    @TableField("image")
    private String image;

    /**
     * 0: 正常 1：删除
     */
    @TableField("is_deleted")
    private Integer isDeleted;

    @TableField("create_at")
    private Timestamp createAt;

    @TableField("create_by")
    private Long createBy;

    @TableField("update_at")
    private Timestamp updateAt;

    @TableField("update_by")
    private Long updateBy;

    @TableField("status")
    private Integer status;
}
